package com.javaenzk.wfx.manager.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("page")
public class PageControl {

    /**
     * 定义一个全局跳转的类
     * @param page
     * @return
     */

    @RequestMapping("/{page}")
    public String login(@PathVariable("page") String page){
        return page;
    }


}
